﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Welcome.aspx.cs" Inherits="Manage_Welcome" %>

<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="Themes/<%=ManageHelper.GetTheme()%>/style.css" type="text/css" />
<script language="javascript" src="js/prototype.js"></script>
<style type="text/css">
td,input,button,select,body {font-family:"lucida Grande",Verdana;font-size:12px;}
.welcomeinfo {font:bold 16px "lucida Grande",Verdana;height:39px;margin:0 0 0 118px;}
.t_left1 {margin-left:17px;}
.nowrap {white-space:nowrap; text-decoration:none}
.f_size,.f_sizetd {font-size:12px;}
.normal {font-weight:normal}
img {border:none}
a {text-decoration:underline;cursor:pointer;}
.level {margin-bottom:6px;margin-left:1px;font:normal 12px "lucida Grande",Verdana;clear:both;}
.level_no {margin-top:8px;margin-bottom:17px;}
.leftpanel {margin:0 0 14px 0;padding:0;list-style:none;}
.left {float:left}
.right {float:right}

.todaybody {overflow:auto;overflow-x:hidden}
ul.tipbook {border-top:1px solid #d8dee5;margin:0 13px;padding:18px 0 0 2px;list-style:none;}
ul.tipbook li {height:28px;}
.tipstitle_title {font:normal 14px Verdana;margin-bottom:5px;padding-left:13px;padding-top:8px;}
.ico_input {border:none;padding:0;margin:0;width:16px;height:16px;}
.ico_helpmin {background:url(pic/icon/help.gif) no-repeat;margin:0 6px 1px 0}
.ico_bbsmin {background:url(pic/icon/bbs.gif) no-repeat;margin:0 6px 1px 0}

</style>
</head>
<body class="todaybody"  >

<ul class="leftpanel" style="margin-bottom:0;border:none;">
  <li style="padding-right:200px;height:auto" id="TodayWelcome" class="welcomeinfo t_left1">
	<script type="text/javascript">
		var hour = (new Date()).getHours();
		if (hour < 4) {
			hello = "夜深了，";
		}
		else if (hour < 7) {
			hello = "早安，";
		}
		else if (hour < 9) {
			hello = "早上好，"; 
		}
		else if (hour < 12) {
			hello = "上午好，";
		}
		else if (hour < 14) {
			hello = "中午好，";
		}
		else if (hour < 17) {
			hello = "下午好，";
		}
		else if (hour < 19) {
			hello = "您好，";
		}
		else if (hour < 22) {
			hello = "晚上好，";
		}
		else {
			hello = "夜深了，";
		}
		document.write(hello);
		</script><%=KeRui.BLL.Admin.GetRealName() %><span class="f_size normal addrtitle" id="spanGreeting">。</span><span id="accountType"></span>
		<div class="oneheight"></div>
		<div class="level level_no">欢迎使用 <%=KeRui.Kernel.Software.ChineseName %> —— 中国.NET平台下最强大的网站内容管理系统。
		<br /><a href="<%=KeRui.Kernel.Software.HelpUrl %>" target="_blank" class="nowrap"><input type="button" class="ico_helpmin ico_input" style="margin:0 3px 0 0;" title="SiteServer CMS 帮助中心" />系统帮助</a>&nbsp;<a href="<%=KeRui.Kernel.Software.ForumUrl %>" target="_blank" class="nowrap"><input type="button" class="ico_bbsmin ico_input" style="margin:0 3px 0 0;" title="<%=KeRui.Kernel.Software.Name %> 支持论坛" />支持论坛</a>
	</div>
	</li>
</ul>

<div style="width:100%; margin:5px;" id="TodayPartNotice" class="bd column">
	<div class="tipstitle_title bd settingtable bold columntitle" style="border-width:0 0 1px 0;padding-top:4px;*padding-top:4px;height:20px;*height:25px"><span class="nounderline cur_default"><%=KeRui.Kernel.Software.Name %> 系统消息&nbsp;</span></div>
	<div id="contentBulletin_">
		<div style="height:75px;margin:11px 16px 0 10px;">
			<div>
				<div style="margin:2px 14px 0 3px;" class="left"></div>
				<div class="left b_size" style="margin:14px 0 0 0">
					<div class="addrtitle f_size">当前版本：<%=KeRui.Kernel.Software.Name %> <%=KeRui.Kernel.Software.Version %>
				        <div style="margin-top:4px; ">.NET 版本：<%=System.Environment.Version.ToString() %></div>
				    </div>
				</div>
			</div>
		</div>

		<ul class="tipbook addrtitle b_size" style="padding-bottom:10px;">
			<li>
            <input type="button" id="chkVersion" class="button" style="padding:3px; padding-bottom:0px" value="检测官方最新版本" />
              &nbsp;
            <input type="button" class="button" style="padding:3px; padding-bottom:0px" onClick="javascript:window.open('<%=KeRui.Kernel.Software.HelpUrl %>');" value="访问官方文档中心" />
              &nbsp;
            <input type="button" class="button" style="padding:3px; padding-bottom:0px" onClick="javascript:window.open('<%=KeRui.Kernel.Software.ForumUrl %>');" value="访问官方论坛" />
            </li>
        </ul>       
		
        <div id="loader_update" style="padding:5px; padding-left:25px;display:none"><img src="/Resource/icons/loading.gif" /></div>
	    <script type="text/javascript" language="javascript">		
            //Event.observe('chkVersion', 'click', stl_loader_update, false);
	    </script>
	</div>
</div>

<div class="clr" style="height:23px;margin:15px 0 0 10px" >
  <div class="left" style="margin:2px 0 0 0">上次登录时间：2009/08/06 13:05</div>
</div>

</body>
</html>
